package www.woniuxy.com.class112.service;

import com.github.pagehelper.PageInfo;
//import www.woniuxy.com.class112.dto.NoticeDto;
//import www.woniuxy.com.class112.entity.Notice;
import www.woniuxy.com.class112.dto.NoticeDto;
import www.woniuxy.com.class112.entity.Notice;
import www.woniuxy.com.class112.entity.NoticeDetail;
import www.woniuxy.com.class112.param.AddNoticeParam;
import www.woniuxy.com.class112.param.PageParam;

public interface NoticeService {
//    PageInfo<Notice> loadAllNotice(Integer pageNum, Integer pageSize)throws Exception;

//    void addNotice(AddNoticeParam toBean,Long userId)throws Exception;

    void deleteNoticeById(Long id)throws Exception;

    void delistNotice(Long id);

    void enableNotice(Long id);

    NoticeDetail noticedetail(Long noticeId);

    PageInfo<NoticeDto> loadAllNotice(PageParam param);

    void addNotice(AddNoticeParam param);
}
